package com.haruhinav.service;

import com.haruhinav.entity.Message;
import com.haruhinav.entity.vo.ReplyMsgVO;
import com.haruhinav.entity.extend.MessageEX;
import com.haruhinav.entity.vo.ResultVO;

import java.util.Map;

public interface MessageService {


    Map<String,Object> getMessagelimit(MessageEX msgex);

    boolean insertMsg(Message message);

    boolean replyMsg(ReplyMsgVO replyMsg);

    Map<String,Object> getAllMsg(MessageEX messageEX);

    ResultVO delMsgById(Message msg);
}
